<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>BMI</title>
</head>
<body>
<center>
    <h1>BMI测试</h1>
    <form action="/bmi" method="post">
        <table border="2" bgcolor="#00EEFF">
            <tr>
                <td>体重(kg):</td>
                <td><input type="text" name="weight" ></td>
            </tr>

            <tr>
                <td>身高(m):</td>
                <td><input type="text" name="height"></td>
            </tr>
            <tr>
                <td colspan="2" align="center"><input type="submit" value="计算BMI"></td>
            </tr>
        </table>
    </form>
</center>

</body>
</html>